package cn.codeinn.service1;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication(scanBasePackages = { "cn.codeinn.*" })
@MapperScan(basePackages = "cn.codeinn.**.mapper")
@EnableDiscoveryClient
@EnableCaching
@RefreshScope
public class Service1Application {
	public static void main(String[] args) {
		SpringApplication.run(Service1Application.class, args);
	}
}
